package com.platform.drools.controller;

import com.platform.drools.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/test")
@RestController
public class TestController {

    @Autowired
    private TestService testService;


    @ResponseBody
    @RequestMapping("/test001")
    public void test001(){
        testService.testService01();
        testService.calculation001();
    }

}
